package com.match.competition_role.mapper;

import com.match.competition_role.entity.CompetitionPermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author AdiosF
 * @since 2021-10-08
 */
@Mapper
public interface CompetitionPermissionMapper extends BaseMapper<CompetitionPermission> {

    //获取所有权限
    List<String> selectAllPermissionValue();


    //根据教师职工号获取教师权限
    List<String> selectPermissionValueByTeacherNumber(String number);

}
